PrintDocument for WinForms
PrintDialog(PrinterSettings,Int32[],Boolean) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > C1PrintDocument クラス > PrintDialog メソッド : PrintDialog(PrinterSettings,Int32[],Boolean) メソッド
The printer settings to use.
The list of selected page numbers. If this parameter is not null, selection option is enabled in the dialog.
Indicates whether to show print progress.
Shows the standard print dialog, allowing the user to print the current document.
シンタックス
'宣言
 
Public Overloads Function PrintDialog( _
   ByVal printerSettings As System.Drawing.Printing.PrinterSettings, _
   ByVal selectedPageNumbers() As System.Integer, _
   ByVal showProgress As System.Boolean _
) As System.Boolean
'使用法
 
Dim instance As C1PrintDocument
Dim printerSettings As System.Drawing.Printing.PrinterSettings
Dim selectedPageNumbers() As System.Integer
Dim showProgress As System.Boolean
Dim value As System.Boolean
 
value = instance.PrintDialog(printerSettings, selectedPageNumbers, showProgress)
public System.bool PrintDialog( 
   System.Drawing.Printing.PrinterSettings printerSettings,
   System.int[] selectedPageNumbers,
   System.bool showProgress
)

パラメータ

printerSettings
The printer settings to use.
selectedPageNumbers
The list of selected page numbers. If this parameter is not null, selection option is enabled in the dialog.
showProgress
Indicates whether to show print progress.

戻り値の型

true if the document was printed, false otherwise.
参照

C1PrintDocument クラス
C1PrintDocument メンバ
オーバーロード一覧